import request from '../request'

//获取学生信息接口
export const studentList = () => request({
    url: '/api/student/list',
    method: 'get'
})

//学生信息添加接口
export const studentAdd = (data: any) => request({
    url: '/api/student',
    method: 'post',
    data: data
})

//学生信息删除接口
export const studentDel = (id:any) => request({
    url: '/api/delete/',
    method: 'delete',
    params: id
})

//智能检测表单数据
export const detectionTable = () => request({
    url: '/api/intelligentDetection/dataitem',
    method: 'get'
})

//安防管理表单数据
export const SecurityTable = () => request({
    url: '/api/intelligentDetection/datapp',
    method: 'get'
})

//设备运维表单数据
export const OperationTable = () => request({
    url: '/api/intelligentDetection/dataput',
    method: 'get'
})